package com.itheima.ood.demo03;

// Zi2类去继承Fu2
public class Zi2 extends  Fu2 {

    public Zi2(){
//        super("张三") ;
        this("张三") ;
        System.out.println("Zi2............无参构造方法被执行了...");
    }

    public Zi2(String name) {
        super(name);
        System.out.println("Zi2............有参构造方法被执行了...");
    }

}
